package com.zp.collection;

import java.util.Comparator;

public class PersonComparator implements Comparator<Person>{
	@Override
	public int compare(Person o1, Person o2) {
		return o1.score - o2.score; //正序；
//		return o2.score - o1.score; //倒序；
	}
}
